package com.app.teaware.bean;

import com.alibaba.fastjson.annotation.JSONField;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Index;

import java.io.Serializable;
import org.greenrobot.greendao.annotation.Generated;

@Entity(indexes = {@Index(value = "cna", unique = true)})
public class CompanyListData implements Serializable {

    /**
     *{
     *   "code": 200,
     *   "message": "查询成功！",
     *   "data": [
     *    {
     * 		"cfsign": "1",
     * 		"cno": "10001",
     * 		"cmn": "李四",
     * 		"cdr": "LI22",
     * 		"ctel": "12121212",
     * 		"cna": "客户1",
     * 		"aid": "1",
     * 		"cid": "2107260001"
     *        }, {
     * 		"cfsign": "1",
     * 		"cno": "10002",
     * 		"cmn": "王五",
     * 		"cdr": "we22",
     * 		"ctel": "3232323",
     * 		"cna": "客户2",
     * 		"aid": "1",
     * 		"cid": "2107260002"
     *        }
     *   ],
     *   "token": null,
     * }
     */
    private static final long serialVersionUID = 1L;


    @JSONField(name = "cfsign")
    private String cfsign;
    @JSONField(name = "cno")
    private String cno;
    @JSONField(name = "cmn")
    private String cmn;
    @JSONField(name = "cdr")
    private String cdr;
    @JSONField(name = "ctel")
    private String ctel;
    @JSONField(name = "cna")
    private String cna;
    @JSONField(name = "aid")
    private String aid;
    @JSONField(name = "cid")
    private String cid;

    @Generated(hash = 492431533)
    public CompanyListData(String cfsign, String cno, String cmn, String cdr,
            String ctel, String cna, String aid, String cid) {
        this.cfsign = cfsign;
        this.cno = cno;
        this.cmn = cmn;
        this.cdr = cdr;
        this.ctel = ctel;
        this.cna = cna;
        this.aid = aid;
        this.cid = cid;
    }

    @Generated(hash = 505381997)
    public CompanyListData() {
    }

    public String getCfsign() {
        return cfsign;
    }

    public void setCfsign(String cfsign) {
        this.cfsign = cfsign;
    }

    public String getCno() {
        return cno;
    }

    public void setCno(String cno) {
        this.cno = cno;
    }

    public String getCmn() {
        return cmn;
    }

    public void setCmn(String cmn) {
        this.cmn = cmn;
    }

    public String getCdr() {
        return cdr;
    }

    public void setCdr(String cdr) {
        this.cdr = cdr;
    }

    public String getCtel() {
        return ctel;
    }

    public void setCtel(String ctel) {
        this.ctel = ctel;
    }

    public String getCna() {
        return cna;
    }

    public void setCna(String cna) {
        this.cna = cna;
    }

    public String getAid() {
        return aid;
    }

    public void setAid(String aid) {
        this.aid = aid;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }
}
